//
//  OBMomentCommentItemViewModel.h
//  WeChat
//
//  Created by 黄柳姣 on 2018/5/3.
//  Copyright © 2018年 obally. All rights reserved.
//  朋友圈评论viewModel

#import <Foundation/Foundation.h>
#import "OBCommentModel.h"
@interface OBMomentCommentItemViewModel : NSObject

/// 评论模型
@property (nonatomic, readonly, strong) OBCommentModel *comment;
/// 正文布局
@property (nonatomic, readwrite, strong) YYTextLayout *contentLableLayout;
/// 正文尺寸
@property (nonatomic, readwrite, assign) CGRect contentLableFrame;
/// cellHeight
@property (nonatomic, readwrite, assign) CGFloat cellHeight;

/// 富文本文字上的事件处理
@property (nonatomic, readwrite, strong) RACCommand *attributedTapCommand;
/// init
- (instancetype)initWithComment:(OBCommentModel *)comment;
@end
